package com.qyer.lxp.model.availability.normal;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 *
 * Created by jiangping on 16/5/10.
 */

@XmlRootElement
public class UnitPrice implements Serializable {

    private static final long serialVersionUID = 8188036848726129457L;

    /**
     *  规格id或者附加选项code
     */
    private String code;

    /**
     *  价格
     */
    private int price;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "UnitPrice{" +
                "code='" + code + '\'' +
                ", price=" + price +
                '}';
    }
}
